﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FluentValidation;

namespace ERPStore.NewsLetters.ModelValidators
{
	public class DBContactRecipientSourceValidator : AbstractValidator<ERPStore.Models.UserListFilter>
	{
		public DBContactRecipientSourceValidator()
		{
			RuleFor(m => m.SelectionId).GreaterThan(0).WithMessage("Au moins une selection doit etre choisie");
		}
	}
}
